package com.anjufang.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 分组信息
 * </p>
 *
 * @author wcy
 * @since 2021-11-04
 */
@TableName("group_info")
public class GroupInfo extends Model<GroupInfo> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 分组名称
     */
	@TableField("group_name")
	private String groupName;
    /**
     * 抽签时间
     */
	@TableField("begin_time")
	private Date beginTime;

	/**
	 * 签到
	 */
	@TableField("end_time")
	private Date endTime;
    /**
     * 分组大小
     */
	@TableField("group_size")
	private Integer groupSize;
    /**
     * 抽签状态：0-未抽签，1-已抽签
     */
	@TableField("status")
	private Integer status;
    /**
     * 创建日期
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 更新日期
     */
	@TableField("update_time")
	private Date updateTime;
    /**
     * 是否删除：0-未删除，1-已删除
     */
	@TableField("is_deleted")
	private Integer isDeleted;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public Date getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}

	public Integer getGroupSize() {
		return groupSize;
	}

	public void setGroupSize(Integer groupSize) {
		this.groupSize = groupSize;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}


	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
